const fs = require('fs');

fs.writeFile('./3_writefile.txt', 'hello world', 'utf-8', (error) => {
    if (error) return console.log('写文件失败', error.message);
});

fs.appendFile();
